function getHeight(elementId: any) {
    const ele: any = document.getElementById(elementId)
    const height = document.documentElement.clientHeight
    const top = ele.getBoundingClientRect().top
    return height - top
}

export {
    getHeight
}
